package ssn.common.vo;

import org.springframework.web.multipart.MultipartFile;


public class FileVO{
	
	private MultipartFile file;
	private String oriFileName;
	private String saveFileName;
	private String fileExt;
	private Long fileSize;
	private String tempFullUrl;
	
	
	

	public String getTempFullUrl() {
		return tempFullUrl;
	}

	public void setTempFullUrl(String tempFullUrl) {
		this.tempFullUrl = tempFullUrl;
	}

	public String getOriFileName() {
		return oriFileName;
	}

	public void setOriFileName(String oriFileName) {
		this.oriFileName = oriFileName;
	}

	public String getSaveFileName() {
		return saveFileName;
	}

	public void setSaveFileName(String saveFileName) {
		this.saveFileName = saveFileName;
	}

	public String getFileExt() {
		return oriFileName.substring(oriFileName.indexOf("."));
	}

	public void setFileExt(String fileExt) {
		this.fileExt = fileExt;
	}

	public Long getFileSize() {
		return fileSize;
	}

	public void setFileSize(Long fileSize) {
		this.fileSize = fileSize;
	}

	public MultipartFile getFile() {
		return file;
	}

	public void setFile(MultipartFile file) {
		this.file = file;
	}
}
